package com.py.credit.entity.common;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class InspectRule extends BaseObj {

	private static final long serialVersionUID = 4112142288997708346L;

	/**
	 * 校验规则ID
	 */
	private int id;

	/**
	 * 校验名称
	 */
	private String ruleName;

	/**
	 * 描述
	 */
	private String ruleDesc;
	/**
	 * 提示
	 */
	private String ruleMsg;

	/**
	 * 包名 类名
	 */
	private String rulePackage;

	/**
	 * 方法名称
	 */
	private String ruleMethod;

	/**
	 * 参数的扩展
	 */
	private String extend;

	/**
	 * 是否删除
	 */
	private String isDel;

	/**
	 * 维护人
	 */
	private String managerName;

	private String resourceTitle;

	private String metricName;

	private String metricId;

	private int deptId;

	private String deptName;

	private String tableId;

	public String getTableId() {
		return tableId;
	}

	public void setTableId(String tableId) {
		this.tableId = tableId;
	}

	/**
	 * 维护时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date time;
	/**
	 * 表规则字段类型 T:时间规则 N:普通规则
	 */
	private String type;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:ss:mm")
	private Date bindTime;

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public String getRuleDesc() {
		return ruleDesc;
	}

	public void setRuleDesc(String ruleDesc) {
		this.ruleDesc = ruleDesc;
	}

	public String getRulePackage() {
		return rulePackage;
	}

	public void setRulePackage(String rulePackage) {
		this.rulePackage = rulePackage;
	}

	public String getRuleMethod() {
		return ruleMethod;
	}

	public void setRuleMethod(String ruleMethod) {
		this.ruleMethod = ruleMethod;
	}

	public String getExtend() {
		return extend;
	}

	public void setExtend(String extend) {
		this.extend = extend;
	}

	public String getIsDel() {
		return isDel;
	}

	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}

	public String getManagerName() {
		return managerName;
	}

	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Date getBindTime() {
		return bindTime;
	}

	public void setBindTime(Date bindTime) {
		this.bindTime = bindTime;
	}

	public String getResourceTitle() {
		return resourceTitle;
	}

	public void setResourceTitle(String resourceTitle) {
		this.resourceTitle = resourceTitle;
	}

	public int getDeptId() {
		return deptId;
	}

	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getMetricName() {
		return metricName;
	}

	public void setMetricName(String metricName) {
		this.metricName = metricName;
	}

	public String getMetricId() {
		return metricId;
	}

	public void setMetricId(String metricId) {
		this.metricId = metricId;
	}

	public String getRuleMsg() {
		return ruleMsg;
	}

	public void setRuleMsg(String ruleMsg) {
		this.ruleMsg = ruleMsg;
	}
		
}
